//
//  SettingModelView.m
//  TYAlertControllerDemo
//
//  Created by tanyang on 15/10/26.
//  Copyright © 2015年 tanyang. All rights reserved.
//

#import "SettingModelView.h"

@implementation SettingModelView
- (IBAction)doClick:(UIButton *)sender {
    switch (sender.tag) {
        case 300:
            [self.delegate changePayWay:@"余额"];
            break;
        case 301:
            [self.delegate changePayWay:@"支付宝"];

            break;
        case 302:
            [self.delegate changePayWay:@"微信支付"];

            break;
        default:
            break;
    }

}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
